package com.sccba.emtbusiness.domain;

import com.sccba.common.annotation.Excel;
import com.sccba.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 重大发版事项与应用系统的关联对象 yjcz_item_channel
 * 
 * @author ruoyi
 * @date 2024-07-25
 */
public class YjczItemChannel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long pkId;

    /** 重大发版事项主键 */
    @Excel(name = "重大发版事项主键")
    private Long itemId;

    /** 应用系统主键 */
    @Excel(name = "应用系统主键")
    private Long channelId;

    private String channelName;

    /** 重大发版事项与应用系统关联的类型（0-所属应用系统 1-本次上线渠道 2-影响渠道） */
    @Excel(name = "重大发版事项与应用系统关联的类型", readConverterExp = "0=-所属应用系统,1=-本次上线渠道,2=-影响渠道")
    private Integer type;

    public void setPkId(Long pkId) 
    {
        this.pkId = pkId;
    }

    public Long getPkId() 
    {
        return pkId;
    }
    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setChannelId(Long channelId) 
    {
        this.channelId = channelId;
    }

    public Long getChannelId() 
    {
        return channelId;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pkId", getPkId())
            .append("itemId", getItemId())
            .append("channelId", getChannelId())
            .append("type", getType())
            .toString();
    }
}
